package org.example.student_dormitory.service;

import org.example.student_dormitory.dto.Result;

public interface DormitoryService {
    public Result loadDormitory(String page, String pageSize, String key, String value);

    public Result loadBuildings();

    public Result checkDormitoryName(String name,String buildingId);

    public Result addDormitory(String name, String buildingId, String dormitoryType);

    public Result updateDormitory(String id, String dormitoryName, String spareBed, String typeNumber);

    public Result deleteById(String id);
}
